﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace App.Desk.Sdx
{
    public class SdxBase
    {
        public string Token { get; set; }

        public string FromIp { get; set; }
    }

    public class GetTrainInfoParaModel : SdxBase
    {
        public string RailNumber { get; set; }

        public string SimplingCode { get; set; }
    }

    public class SdxTraninInfoModel : SdxBase
    {
        [DisplayName("ID")]
        public virtual Guid Id { get; set; }

        [DisplayName("供应商简码")]
        public virtual string SupplierCode { get; set; }

        [DisplayName("车号")]
        public virtual string CarNo { get; set; }

        [DisplayName("采样点数")]
        public virtual decimal SimplingPoint { get; set; }

        [DisplayName("是否采样成功")]
        public virtual decimal IsSuccess { get; set; }

        [DisplayName("采样机编号")]
        public virtual string SimplingCode { get; set; }

        [DisplayName("是否已过重")]
        public virtual decimal IsWeight { get; set; }

        [DisplayName("车次号")]
        public virtual string TravelNo { get; set; }

        [DisplayName("入厂批次号")]
        public virtual Guid? BatchInfoId { get; set; }

        [DisplayName("时间")]
        public virtual DateTime? CreateTime { get; set; }

        [DisplayName("机构标识")]
        public virtual Guid OrgId { get; set; }

        [DisplayName("系统标识")]
        public virtual string SysId { get; set; }

        [DisplayName("空车0车皮，1为正常")]
        public virtual decimal CanSampling { get; set; }

        [DisplayName("子样重量")]
        public virtual decimal SimplingWeight { get; set; }

        [DisplayName("集样罐号")]
        public virtual string SetBucketNo { get; set; }

        [DisplayName("每个车在该车次中的顺序")]
        public virtual string TrainIndex { get; set; }

        [DisplayName("采样坐标")]
        public virtual string SimplingLocation { get; set; }

        [DisplayName("采样方式")]
        public virtual string SimplingSource { get; set; }

        [DisplayName("火车宽度")]
        public virtual decimal TransWide { get; set; }

        [DisplayName("火车长度")]
        public virtual decimal TransLong { get; set; }

        [DisplayName("拉筋位置")]
        public virtual string Stretchposition { get; set; }

        [DisplayName("车型")]
        public virtual string CarType { get; set; }

        [DisplayName("采样方案编号")]
        public virtual string TrainSamplingCode { get; set; }
    }
}
